package com.landscope.central.mapper;

import com.landscope.central.controller.api.dto.ApiProjectDto;
import com.landscope.central.entity.Project;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);

    List<ApiProjectDto> findByCodes(@Param("codes") String[] codes);
}